//
//  LineOneTypeStyle.hpp
//  fingeradvanture
//
//  Created by shuaibincheng on 16/5/18.
//  当队伍是线性结构时，可以使该风格
//

#ifndef LineOneTypeStyle_hpp
#define LineOneTypeStyle_hpp

#include "MonsterDen.hpp"
#include "TroopStyle.hpp"

class LineOneTypeStyle : public TroopStyle
{
public:
    LineOneTypeStyle(int num) : TroopStyle(num)
    {
        currentType = MONSTER_UNKNOWN;
    }

protected:
    virtual MonsterType next();
private:
    std::vector<MonsterType> allowedMonsterTypes();
    
private:
    MonsterType currentType;  //选定的monster类型
};

#endif /* LineOneTypeStyle_hpp */
